import { _decorator, Component, Node } from 'cc';
const { ccclass, property } = _decorator;



@ccclass('DragTetrisUIManager')
export default class DragTetris_UIManager extends Component {
    static Instance: DragTetris_UIManager;
    //    // @property(cc.Canvas)
    //    // canvas: cc.Canvas = null;
    //    // @property(cc.Node)
    //    // UI_1: cc.Node = null;
    //    // @property(cc.Node)
    //    // UI_2: cc.Node = null;
    //    // @property(cc.Node)
    //    // UI_3: cc.Node = null;
    //    // @property(cc.Node)
    //    // Root_bg: cc.Node = null;
    @property(Node)
    Root_grid: Node | null = null;
    //    // @property(cc.Node)
    //    // Root_card: cc.Node = null;
    @property(Node)
    Root_effect: Node | null = null;
    //    // @property(cc.Node)
    //    // Root_block: cc.Node = null;
    @property(Node)
    GeneratePoint_blook: Node | null = null;
    @property(Node)
    GeneratePoint_blook_temp: Node | null = null;
    //    // @property(cc.Node)
    //    // Root_Temp: cc.Node = null;
    //    // @property(cc.Node)
    //    // DeadFrame: cc.Node = null;
    onLoad() {
        DragTetris_UIManager.Instance = this;

        // for (let index = 0; index < this.node.childrenCount; index++) {
        //     let child = this.node.children[index];
        //     let active: boolean = child.active;
        //     child.active = true;
        //     child.active = active;
        // }
        DragTetris_UIManager.AddListener();
    }
    static AddListener() { }
}

// /** 调试 */
window["DragTetris_UIManager"] = DragTetris_UIManager;